package com.lagou.sql;

import com.lagou.pojo.Configuration;
import com.lagou.sql.session.SqlSession;

/**
 * @author Kirito
 * @description: 生成SqlSession的工厂对象，为了便于扩展设计成接口
 * @date 2020/03/25
 */
public interface SqlSessionFactory {
    /**
     * 获取sqlSession
     * @return SqlSession
     */
    SqlSession openSqlSession();
}
